//
//  EFAMatAddImgTCell.h
//  efairy
//
//  Created by XiangDongMBP on 2017/9/6.
//  Copyright © 2017年 East. All rights reserved.
//

#import <UIKit/UIKit.h>

@class EFAMatAddImgTCell;
@protocol EFAMatAddImgTCellDelegate <NSObject>
@optional
- (void)matAddImgTCell:(EFAMatAddImgTCell *)cell collectionView:(UICollectionView *)collectionView delWithIndexPath:(NSIndexPath *)cIndexPath;
- (void)matAddImgTCell:(EFAMatAddImgTCell *)cell collectionView:(UICollectionView *)collectionView addWithIndexPath:(NSIndexPath *)cIndexPath;
@end

@class EFAMtcPubModel;
@class EFAAlarmPubModel;
@class EFADangerPubModel;
@class EFADevPubModel;
@interface EFAMatAddImgTCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *collectionViewHeight;
@property (weak, nonatomic) EFAMtcPubModel *model;
@property (weak, nonatomic) EFAAlarmPubModel *alarmModel;
@property (weak, nonatomic) EFADangerPubModel *dangerModel;
@property (weak, nonatomic) EFADevPubModel *devModel;
@property (weak, nonatomic) id<EFAMatAddImgTCellDelegate>delegate;

- (void)configViewWithMtcPubModel:(EFAMtcPubModel *)model;
@end


@interface EFAMatAddImgTCell (AlarmRelative)
- (void)configViewWithAlarmPubModel:(EFAAlarmPubModel *)model;
@end


@interface EFAMatAddImgTCell (DangerRelative)
- (void)configViewWithDangerPubModel:(EFADangerPubModel *)model;
@end

@interface EFAMatAddImgTCell (DeviceRelative)
- (void)configViewWithDevPubModel:(EFADevPubModel *)model;
@end

